var path = require('path');
var HtmlWebpackPlugin = require('html-webpack-plugin');
var OpenBrowserPlugin = require('open-browser-webpack-plugin')
module.exports = {
    entry: "./src/example.amd.js",
    output: {
        path: path.join(__dirname, "dist/amd"),
        filename: "[name].bundle.js",
        chunkFilename: "[id].chunk.js"
    },
    plugins: [
    new HtmlWebpackPlugin({
        title: 'My App',
        filename: 'index.html'
    }),
    new OpenBrowserPlugin({
        url: 'http://localhost:8080'
    })
  ]
};

